Version | ID |
---|---|
1.8.X | 0x42 |
1.9 | 0x2C |
1.12.1 | 0x2D |
1.13.1 | 0x2F |
1.14.4 | 0x32 |
1.15.2 | 0x33 |
Packet ID | State | Bound To | Field Name | Field Type | Notes | |
---|---|---|---|---|---|---|
0x33 | Play | Client | Event | VarInt Enum | Determines the layout of the remaining packet | |
Event | Field Name | |||||
0: enter combat | no fields | no fields | ||||
1: end combat | Duration | VarInt | Length of the combat in ticks. | |||
Entity ID | Int | ID of the primary opponent of the ended combat, or -1 if there is no obvious primary opponent. | ||||
2: entity dead | Player ID | VarInt | Entity ID of the player that died (should match the client's entity ID). | |||
Entity ID | Int | The killing entity's ID, or -1 if there is no obvious killer. | ||||
Message | Chat | The death message |
Packet ID | State | Bound To | Field Name | Field Type | Notes | |
---|---|---|---|---|---|---|
0x32 | Play | Client | Event | VarInt Enum | Determines the layout of the remaining packet | |
Event | Field Name | |||||
0: enter combat | no fields | no fields | ||||
1: end combat | Duration | VarInt | ||||
Entity ID | Int | |||||
2: entity dead | Player ID | VarInt | ||||
Entity ID | Int | |||||
Message | Chat |
Packet ID | State | Bound To | Field Name | Field Type | Notes | |
---|---|---|---|---|---|---|
0x2F | Play | Client | Event | VarInt Enum | Determines the layout of the remaining packet | |
Event | Field Name | |||||
0: enter combat | no fields | no fields | ||||
1: end combat | Duration | VarInt | ||||
Entity ID | Int | |||||
2: entity dead | Player ID | VarInt | ||||
Entity ID | Int | |||||
Message | Chat |
Packet ID | State | Bound To | Field Name | Field Type | Notes | |
---|---|---|---|---|---|---|
0x2F | Play | Client | Event | VarInt Enum | Determines the layout of the remaining packet | |
Event | Field Name | |||||
0: enter combat | no fields | no fields | ||||
1: end combat | Duration | VarInt | ||||
Entity ID | Int | |||||
2: entity dead | Player ID | VarInt | ||||
Entity ID | Int | |||||
Message | Chat |
Packet ID | State | Bound To | Field Name | Field Type | Notes | |
---|---|---|---|---|---|---|
0x2D | Play | Client | Event | VarInt Enum | Determines the layout of the remaining packet | |
Event | Field Name | |||||
0: enter combat | no fields | no fields | ||||
1: end combat | Duration | VarInt | ||||
Entity ID | Int | |||||
2: entity dead | Player ID | VarInt | ||||
Entity ID | Int | |||||
Message | Chat |
Packet ID | State | Bound To | Field Name | Field Type | Notes | |
---|---|---|---|---|---|---|
0x2D | Play | Client | Event | VarInt Enum | Determines the layout of the remaining packet | |
Event | Field Name | |||||
0: enter combat | no fields | no fields | ||||
1: end combat | Duration | VarInt | ||||
Entity ID | Int | |||||
2: entity dead | Player ID | VarInt | ||||
Entity ID | Int | |||||
Message | Chat |
Packet ID | State | Bound To | Field Name | Field Type | Notes | |
---|---|---|---|---|---|---|
0x2C | Play | Client | Event | VarInt Enum | Determines the layout of the remaining packet | |
Event | Field Name | |||||
0: enter combat | no fields | no fields | ||||
1: end combat | Duration | VarInt | ||||
Entity ID | Int | |||||
2: entity dead | Player ID | VarInt | ||||
Entity ID | Int | |||||
Message | Chat |
Packet ID | State | Bound To | Field Name | Field Type | Notes | |
---|---|---|---|---|---|---|
0x2C | Play | Client | Event | VarInt Enum | Determines the layout of the remaining packet | |
Event | Field Name | |||||
0: enter combat | no fields | no fields | ||||
1: end combat | Duration | VarInt | ||||
Entity ID | Int | |||||
2: entity dead | Player ID | VarInt | ||||
Entity ID | Int | |||||
Message | Chat |
Packet ID | State | Bound To | Field Name | Field Type | Notes | |
---|---|---|---|---|---|---|
0x2C | Play | Client | Event | VarInt Enum | Determines the layout of the remaining packet | |
Event | Field Name | |||||
0: enter combat | no fields | no fields | ||||
1: end combat | Duration | VarInt | ||||
Entity ID | Int | |||||
2: entity dead | Player ID | VarInt | ||||
Entity ID | Int | |||||
Message | Chat |
Packet ID | State | Bound To | Field Name | Field Type | Notes | |
---|---|---|---|---|---|---|
0x2C | Play | Client | Event | VarInt Enum | Determines the layout of the remaining packet | |
Event | Field Name | |||||
0: enter combat | no fields | no fields | ||||
1: end combat | Duration | VarInt | ||||
Entity ID | Int | |||||
2: entity dead | Player ID | VarInt | ||||
Entity ID | Int | |||||
Message | Chat |
Packet ID | State | Bound To | Field Name | Field Type | Notes | |
---|---|---|---|---|---|---|
0x2C | Play | Client | Event | VarInt Enum | Determines the layout of the remaining packet | |
Event | Field Name | |||||
0: enter combat | no fields | no fields | ||||
1: end combat | Duration | VarInt | ||||
Entity ID | Int | |||||
2: entity dead | Player ID | VarInt | ||||
Entity ID | Int | |||||
Message | Chat |
Packet ID | State | Bound To | Field Name | Field Type | Notes | |
---|---|---|---|---|---|---|
0x2C | Play | Client | Event | VarInt Enum | Determines the layout of the remaining packet | |
Event | Field Name | |||||
0: enter combat | no fields | no fields | ||||
1: end combat | Duration | VarInt | ||||
Entity ID | Int | |||||
2: entity dead | Player ID | VarInt | ||||
Entity ID | Int | |||||
Message | Chat |
Packet ID | State | Bound To | Field Name | Field Type | Notes | |
---|---|---|---|---|---|---|
0x2C | Play | Client | Event | VarInt Enum | Determines the layout of the remaining packet | |
Event | Field Name | |||||
0: enter combat | no fields | no fields | ||||
1: end combat | Duration | VarInt | ||||
Entity ID | Int | |||||
2: entity dead | Player ID | VarInt | ||||
Entity ID | Int | |||||
Message | Chat |
Packet ID | State | Bound To | Field Name | Field Type | Notes | |
---|---|---|---|---|---|---|
0x2C | Play | Client | Event | VarInt Enum | Determines the layout of the remaining packet | |
Event | Field Name | |||||
0: enter combat | no fields | no fields | ||||
1: end combat | Duration | VarInt | ||||
Entity ID | Int | |||||
2: entity dead | Player ID | VarInt | ||||
Entity ID | Int | |||||
Message | Chat |
Packet ID | State | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|---|
0x42 | Play | Client | Event | VarInt | 0: enter combat, 1: end combat, 2: entity dead |
Duration | Optional VarInt | Only for end combat | |||
Player ID | Optional VarInt | Only for entity dead | |||
Entity ID | Optional Int | Only for end combat and entity dead | |||
Message | String | Only for entity dead |